package com.yanqu.road.entity.activity.shuihuyezipai;

import java.util.HashMap;
import java.util.Map;

/**
 * @Description 水浒叶子牌 玩家对战数据
 * @Author cwq
 * @Data 2021/11/30 18:21
 */
public class ShuiHuYeZiCardUserBattleInfo {

    private long userId;
    /**
     * 活动id
     */
    private int activityId;
    /**
     * 区服
     */
    private long serverId;

    /**
     * 积分
     */
    private int rankScore;

    /**
     * 模式
     */
    private int roomType;

    /**
     * 开始匹配的时间
     */
    private long matchTime;

    /**
     * 当前拥有的卡牌 （匹配时锁定）
     */
    private Map<Integer,ShuiHuYeZiCardUserCard> userCardMap = new HashMap<>();

    /**
     * 当前回合出的牌
     */
    private ShuiHuYeZiCardBattleCard curPlayCard;

    /**
     * 当前回合是否自动出牌
     */
    private boolean isAutoPlay;

    /**
     * 上次发消息的时间
     */
    private int sendMsgTime;

    /**
     * 发消息的次数
     */
    private int sendMsgTimes;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        this.serverId = serverId;
    }

    public int getRankScore() {
        return rankScore;
    }

    public void setRankScore(int rankScore) {
        this.rankScore = rankScore;
    }

    public int getRoomType() {
        return roomType;
    }

    public void setRoomType(int roomType) {
        this.roomType = roomType;
    }

    public long getMatchTime() {
        return matchTime;
    }

    public void setMatchTime(long matchTime) {
        this.matchTime = matchTime;
    }

    public Map<Integer, ShuiHuYeZiCardUserCard> getUserCardMap() {
        return userCardMap;
    }

    public void setUserCardMap(Map<Integer, ShuiHuYeZiCardUserCard> userCardMap) {
        this.userCardMap = userCardMap;
    }

    public ShuiHuYeZiCardBattleCard getCurPlayCard() {
        return curPlayCard;
    }

    public void setCurPlayCard(ShuiHuYeZiCardBattleCard curPlayCard) {
        this.curPlayCard = curPlayCard;
    }

    public int getSendMsgTime() {
        return sendMsgTime;
    }

    public void setSendMsgTime(int sendMsgTime) {
        this.sendMsgTime = sendMsgTime;
    }

    public int getSendMsgTimes() {
        return sendMsgTimes;
    }

    public void setSendMsgTimes(int sendMsgTimes) {
        this.sendMsgTimes = sendMsgTimes;
    }

    public boolean isAutoPlay() {
        return isAutoPlay;
    }

    public void setAutoPlay(boolean autoPlay) {
        isAutoPlay = autoPlay;
    }
}
